<?php
$json = [[
  'id'=> 1,
  "src"=> "//img14.360buyimg.com/n7/jfs/t1/78442/37/5440/135812/5d3824a3E03c4f481/f4b6f9f703a64d7e.jpg",
  "price"=> 1099,
  "name"=> "李宁闪击篮球鞋驭帅10镭射队尚4男韦德之道空袭中高帮队尚3.5球鞋",
  "sale"=> "45"
],
[
  'id'=> 2,
  "src"=> "//img10.360buyimg.com/n7/jfs/t1/61083/5/2564/266150/5d0da810E1f5798c6/2e909cfa6532460e.jpg",
  "price"=> 99.00,
  "name"=> "Sport飓风 Nike Kwazi 休闲运动鞋男 844839-002-001-100-400",
  "sale"=> 69
],
[
  'id'=> 3,
  "src"=> "//img10.360buyimg.com/n7/jfs/t3985/131/486256904/433682/1d9fc4d0/584fcc81N1a31a2c5.jpg",
  "price"=> 158.00,
  "name"=> "华为 Mate 9 Pro 6GB+128GB版 银钻灰 移动联通电信4G手机 双卡双待",
  "sale"=> 78
],
[
  'id'=> 4,
  "src"=> "//img10.360buyimg.com/n7/jfs/t1/20234/33/6773/107919/5c6375ddE8b932351/b2e45ffe115de182.jpg",
  "price"=> 1099.00,
  "name"=> "指南针运动 NIKE HYPERSHIFT篮球鞋 844392-010-607-164-017现货",
  "sale"=> 92
]
];

echo json_encode($json)
?>